SECTIONS {
  .foo : { *(.bar) }
} INSERT .data;

# RUN: not ld.lld -o /dev/null --script %s 2>&1 | FileCheck %s
# CHECK: {{.*}}:3: expected AFTER/BEFORE, but got '.data'
